package cn.jiyun.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
//基础信息表
@TableName(value = "product_base")
public class Base {
    @TableId(value = "base_id",type = IdType.AUTO)
    private Integer baseId;
    @TableField("base_type")
    private  String baseType;
    @TableField("base_fenlei_id")
    private  Integer baseFenleiId;
    @TableField("base_name")
    private  String baseName;
    @TableField("base_unit")
    private  String baseUnit;
    @TableField("base_image_url")
    private  String baseImageUrl;
    @TableField("base_video")
    private  String baseVideo;
    @TableField("base_status")
    private  Integer baseStatus;
    @TableField("base_time")
    private LocalDateTime baseTime;
}
